Home:ALL Converter>What is the AndroidX.Test Framework and how does it affect my unit/robolectric/espresso tests?

What is the AndroidX.Test Framework and how does it affect my unit/robolectric/espresso tests?

Ask Time:2018-11-21T13:20:09         Author:Ramprasad

Json Formatter

I have go through Test Android Apps in Android document. Google introduced AndroidX testing, but I am still very of confused of its implications.

I am using MVVM Android architecture components with ViewModel, LiveData.

Which parts of the Android X Framework do I need to use?

View(Activity.Fragments) --> Espresso?

ViewModel(with LiveData) --> RoboElectric?

Model --> JUnit or RoboElectric?

Why is Google still confusing us with lot of libraries, why can't they move all Local test, Instrumentation test, and everything under the same Framework(Espresso)?

Author:Ramprasad,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/53405681/what-is-the-androidx-test-framework-and-how-does-it-affect-my-unit-robolectric-e
yy